package cate.game.role.farm.udgpalace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBUdgPalace;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "地宫探险处理事件的返回", description = "一键挑战不返回此消息")
public class UdgPalaceHandleEventResp implements MsgOutput {
    @NoteField("位置")
    public int pos;
    @NoteField("玩家的选择, 没有选择的事件就传0或不传")
    public int choose;
    @NoteField("事件类型")
    public int type;
    @NoteField("结果 (猜拳：1赢 2输 3平， 转盘：抽到的tid， 答题：正确的答案tid)")
    public int result;

    public UdgPalaceHandleEventResp() {

    }

    public UdgPalaceHandleEventResp(int pos, int choose, int type, int result) {
        this.pos = pos;
        this.choose = choose;
        this.type = type;
        this.result = result;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBUdgPalace.HANDLE_EVENT_RESP;
    }
}
